export default {
    saveSiderbar(state,allRoutes){
        state.courseSiderbar = allRoutes
    },
    changeText(state,getText){
        state.text = getText
    },
    //存入username

    saveUserName(state,username){
        state.username = username
    },
    saveCartCount(state,cartCount){
        state.cartCount = cartCount
    }
}
